.video-page {
    button.el-button.active {
        background: #409EFF;
        color: #fff;
    }
    .video-panel {
        padding: 0 10px;
        // min-width: 1100px;
        text-align: left;
    }
    .table-btn-size {
        cursor: pointer;
        margin-right: 10px;
        &:hover {
            text-shadow: 0 0px 1px #999;
        }
    }
    .table-btn-del {
        color: #fa6464;
    }
    .el-dialog__wrapper {
        text-align: left;
        .el-dialog {
            width: 80%;
            max-width: 950px;
            min-width: 950px;
        }
        .dialog-second {
            z-index: 99999;
            max-width: 500px;
            min-width: 300px;
        }
    }

    .video-frame {
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
        padding: 6px;
        overflow: hidden;

        & + .video-frame {
            margin-top: 20px;
        }

        .video-title {
            width: 100%;
            height: 40px;
            padding: 0 14px 0 14px;
            line-height: 40px;
            font-size: 14px;
            color: #006db8;
            background: #f0f6fb;
            border-radius: 16px 16px 0 0;

            span {
                margin-right: 6px;
            }

            .icon-size {
                margin-right: 8px;
                display: inline-block;
                vertical-align: middle;
                font-size: 18px;

                i {
                    font-size: 18px;
                    font-weight: bold;
                }
            }

            .title-right {
                float: right;
                color: #535353;
                cursor: pointer;

                &:hover {
                    color: #424242;
                }
            }
        }

        .inquiry-frame {
            padding: 0 14px 0 14px;

            .inquiry-content {
                margin: 14px 0 0 0;
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                text-align: left;
                li {
                    margin-top: 15px;
                    width: 32%;
                    .icon-size {
                        vertical-align: middle;
                        cursor: pointer;
                        i {
                            font-size: 18px;
                            font-weight: bold;
                            color: #006db8;
                        }
                    }
                }
                .content-middle {
                    width: 64%;
                }
                .content-big {
                    width: 100%;
                    position: relative;
                    padding-right: 30px;
                    // i{
                    //     position: absolute;
                    //     right: 5px;
                    // }
                }
            }
        }

        .video-control {
            margin: 20px;
            text-align: center;

            .control-size {
                cursor: pointer;
                position: relative;
                text-align: center;
                .pic-frame {
                    width: 56px;
                    height: 56px;
                    margin: 0 auto;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                .red-tips {
                    position: absolute;
                    top: 0;
                    right: 23px;
                    border-radius: 50%;
                    width: 15px;
                    height: 15px;
                    background-color: #fa6464;
                }
            }
        }

    }
    .user-msg {
        position: relative;
        margin: 0 3px;
        padding: 14px 0 14px 64px;
        .user-info {
            display: inline-block;
            vertical-align: top;
            max-width: 200px;
            padding-left: 5px;
            .user-name {
                margin-right: 5px;
                font-size: 14px;
                font-weight: 500;
                color: #3c3c3c;
            }
            .user-age {
                margin-top: 10px;
                font-size: 13px;
                span {
                    margin-right: 5px;
                    color: #333;
                }
            }
            .user-inquiry {
                display: inline-block;
                margin-left: 5px;
            }
        }
        .user-btn {
            text-align: right;
            margin-top: 12px;
        }
        .user-img {
            position: absolute;
            left: 0;
            top: 14px;
            // display: inline-block;
            width: 61px;
            height: 61px;
            border-radius: 16px;
            overflow: hidden;
            background: url("../../assets/img/img_user.png") no-repeat top center; //!important
            img {
                width: 100%;
                height: 100%;
                border-radius: 16px;
            }
            .user-line-tag {
                line-height: 18px;
                width: 100%;
                opacity: 0.8;
                text-align: center;
                margin: 44px 0 0 0;
                color: #fff;
                font-size: 12px;
            }
            .outline-size {
                background: #757575;
            }
            .online-size {
                background: #006DB8;
            }
        }
        & + .user-msg {
            border-top: 1px solid #dcdfe6;
        }
        .user-badge {
            position: absolute;
            left: 45px;
            top: 10px;

            // background-color: #F56C6C;
            // border-radius: 10px;
            // color: #FFF;
            // display: inline-block;
            // font-size: 12px;
            // height: 18px;
            // line-height: 18px;
            // padding: 0 2px;
            // text-align: center;
            // white-space: nowrap;
            // border: 1px solid #FFF;
            z-index: 100;
        }
        .user-badge-small {
            left: 37px;
        }
        .user-badge-large {
            left: 33px;
        }
    }
    .user-list {
        margin: 15px 0;
        text-align: center;
    }
    .list-tips {
        margin: 0 12px;
        color: #fa6464;
    }
    .chat-box {
        position: relative;
        padding: 3px;
        .chat-content {
            padding: 5px 5px;
            height: 230px;
            top: 0;
            right: 0;
            left: 0;
            bottom: 60px;
            overflow: hidden;
            overflow-y: scroll;
            border: 1px solid #eee;
            font-size: 13px;
        }
        .chat-history {
            text-align: center;
            cursor: pointer;
            &:hover {
                color: #409EFF;
            }
        }
        .chat-head {
            color: #999;
            line-height: 1.5;
        }
        .chat-msg {
            // position: relative;
            word-wrap: break-word;
            margin-left: 10px;
        }
        .chat-alert {
            padding: 1px 0;
            margin: 5px 0;
        }
        .chat-color {
            color: #409EFF;
        }
        .chat-read {
            margin: 0 6px;
        }
        .chat-not-read {
            color: #fa6464;
        }
        .chat-standard {}
        .chat-btn {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 10px 5px;
            .btn-input {
                // width: 75%;
                width: 100%;
            }
            .btn-send {
                width: 100%;
                padding: 8px 2px;
            }
            .el-popover {}

        }
        .chat-withdraw {
            position: absolute;
            // top: 45px;
            // left: 45px;
            background: #fff;
            border: 1px solid #eee;
            z-index: 999;
            li {
                padding: 2px 15px;
                &:hover {
                    background: #d9ecff;
                    cursor: pointer;
                }
            }

        }
    }

    .line-patientlist-short {
        max-height: 328px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .line-patientlist-height {
        max-height: 820px;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .dialog-frame {
        min-width: 950px;

        .dialog-btn {
            text-align: center;

            .btn-size {
                width: 150px;
            }
        }

        .title-size {
            font-weight: bold;
            font-size: 18px;
            color: #353535;
            line-height: 30px;

            span {
                font-weight: bold;
                display: inline-block;
                margin-left: 5px;
                line-height: 30px;
            }

            .title-tips {
                font-size: 16px;
                font-weight: 500;
                color: #fa6464;
                margin-left: 15px;
            }
        }
        .content-title {
            margin-top: 20px;
            font-weight: bold;
            font-size: 18px;
            color: #353535;
        }

        .title-icon {
            display: inline-block;
            width: 31px;
            height: 20px;

            img {
                margin: 4px 0 0 0;
                width: 100%;
                height: 100%;
                display: block;
            }
        }
        .dialog-content {
            min-height: 200px;
            max-height: 250px;
            padding: 5px 10px 5px;
            margin-bottom: 15px;
            line-height: 22px;
            color: #333;
            border: 1px solid #e2e2e2;
            word-break: break-all;
            word-wrap: break-word;
            overflow: auto;
        }
        .drug-content {
            min-height: 250px;
            padding-bottom: 45px;
        }
        .search-control {
            text-align: right;
            margin-bottom: 10px;
        }
        .search-left {
            float: left;
        }
        .search-input {
            width: 200px;
        }
    }
    .pdf-dialog {
        .el-dialog__body {
            padding: 0;
            max-height: 900px;
        }
        .pdf-frame {
            width: 100%;
            height: 80vh;
        }
        .pdf-btn {
            text-align: center;
            margin-bottom: 15px;
            margin-top: 7px;
        }
    }
    .dialog-triage {
        .triage-doc {
            width: 200px;
        }
        .triage-search {
            margin: 15px;
        }
        .triage-inquiry {}
    }
    .standard-dialog {
        .search-control {
            text-align: right;
        }
        .search-input {
            width: 200px;
        }
    }
    .drug-specification-dialog {
        .drugMap-img {
            width: 120px;
            height: 120px;
            display: inline-block;
            margin-right: 15px;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .drug-specifica {
            width: 25%;
            margin: 10px 0 0 0;
        }
        .drugs-name {
            display: inline-block;
            vertical-align: top;
            p {
                margin-bottom: 15px;
                font-size: 16px;
                color: #606266;
            }
            .name-size {
                font-size: 18px;
                color: #D96F11;
            }
            .store-name {
                margin-left: 20px;
            }
        }
        .drugs-more {
            .more-msg {
                display: inline-block;
                width: 48%;
            }
            p {
                margin-bottom: 10px;
                font-size: 14px;
                padding-left: 12px;
                color: #909399;
            }
        }
    }
    .pic-dialog {
        .el-dialog__body {
            div > div {
                // width: 20%;
                text-align: center;
                height: 142px;
                display: inline-block;
            }

            img {
                border-radius: 16px;
                width: 142px;
                height: 142px;
                margin: 10px 15px;
            }
        }
        .text-tip {
            text-align: center;
        }
    }
    .edit-patient-dialog {
        .edit-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            li {
                margin-top: 12px;
                width: 32%;
            }
            .edit-input {
                width: 75%;
            }
        }
    }
    .dialog-choose {
        .choose-ICDSearch {
            width: 500px;
            margin: 10px auto;
            text-align: center;
            .ICD-Search {
                width: 200px;
                margin: 15px;
            }
            .ICDSearch-list {
                margin-left: 13px;
                width: 270px;
                display: inline-block;
                vertical-align: top;
                text-align: left;
                max-height: 300px;
                overflow: scroll;
                p {
                    &:hover {
                        background: #d9ecff;
                        cursor: pointer;
                    }
                }
            }
        }
    }
    .dialog-finish {
        .finish-frame {
            text-align: center;
        }
        .finish-tips {
            margin: 15px;
        }
        .finish-reason {
            margin: 15px;
        }
        .x-form.s-sm {
            width: 60%;
            margin: 12px auto;
        }
        .finish-content {
            font-size: 16px;
            font-weight: bold;
        }
        .finish-btn {
            margin: 30px 0 10px 0;
            text-align: center;
        }
    }
    /* 诊断弹框 */
    .diagnosis-dialog {
        min-height: 500px;
        // text-align: center;
        h2 {
            margin-bottom: 25px;
            text-align: center;
        }
        .diagnosis-input {
            width: 250px;
            margin-left: 10px;
        }
        .diagnosis-left {
            display: inline-block;
            text-align: right;
            padding-right: 30px;
            width: 50%;
            min-height: 500px;
            border-right: 1px solid #eee;
            vertical-align: top;
        }
        .diagnosis-right {
            vertical-align: top;
            display: inline-block;
            text-align: right;
            width: 47%;
            padding-left: 20px;
        }
        .show-ICDresult {
            margin: 20px 0;

            display: inline-block;
            height: 200px;
            width: 250px;
            border: 1px solid #eee;
            overflow: scroll;
            text-align: left;
            ul {
                li {
                    padding-left: 10px;
                    cursor: pointer;
                    &:hover,
                    &.icd-hover {
                        background: #d9ecff;
                    }
                }
            }
        }
        .diagnosis-result {
            margin-bottom: 20px;
            width: 390px;
            min-height: 200px;
            max-height: 340px;
            overflow: auto;
            display: inline-block;
            border: 1px solid #eee;
            ul {
                li {
                    position: relative;
                    text-align: left;
                    padding-left: 20px;
                    padding-right: 35px;
                    margin: 5px 0;
                    i {
                        cursor: pointer;
                        position: absolute;
                        right: 10px;
                        top: 3px;
                        font-size: 20px;
                    }
                }
            }
        }
        .diagnosis-btn {
            width: 250px;
            margin: 20px 0;
            text-align: center;
        }
    }
    .dialog-western {
        .store-radio {
            width: 68%;
            display: inline-block;
        }
        .radio-tips {
            display: inline-block;
            color: #fa6464;
            width: 30%;
            text-align: right;
        }
        .western-left {
            width: 600px;
            display: inline-block;
            border-right: 1px solid #eee;
            min-height: 500px;
            vertical-align: top;
            padding-right: 30px;
        }
        .patient-msg {
            margin-right: 20px;
        }
        .western-left-open {
            width: 48%;
        }
        .western-right {
            vertical-align: top;
            padding-left: 20px;
            width: 266px;
            display: inline-block;

            .western-title {
                margin-bottom: 15px;
                text-align: center;
            }
        }
        .drug-fication {
            width: 50%;
        }
        .western-right-content {
            position: relative;

            .content-list {
                margin-top: 5px;
                .content-name {
                    font-weight: bold;
                    position: relative;
                    span {
                        float: right;
                    }
                }
                .drug-store {
                    font-size: 12px;
                    color: #909399;
                }
            }
            .drugList-content {
                max-height: 150px;
                overflow-y: scroll;
                overflow-x: hidden;
            }
        }
    }
    .inspection-dialog {
        min-height: 500px;
        vertical-align: top;
        .inspection-left {
            width: 590px;
            display: inline-block;
            border-right: 1px solid #eee;
            min-height: 500px;
            vertical-align: top;
            padding-right: 30px;
        }
        .inspection-search {
            width: 200px;
            display: inline-block;
        }
        .inspection-pane {
            padding: 0px 10px;
        }
        .el-tabs__item {
            padding: 0px 10px;
        }
        .el-collapse {
            border-bottom: 0px solid transparent;
            border-top: 0px solid transparent;
        }
        .el-collapse-item__header {
            border-bottom: 0px solid transparent;
        }
        .inspection-right {
            vertical-align: top;
            padding-left: 30px;
            width: 275px;
            display: inline-block;
            text-align: left;
            .inspection-title {
                text-align: left;
                margin-top: 15px;
            }
            .inspection-content {
                max-height: 260px;
            }
        }
    }

    .case-dialog {
        .frame-pager {
            padding: 20px;
            text-align: center;
        }

        .case-center {
            text-align: center;
            margin-bottom: 15px;
        }
        .case-frame {
            display: flex;
            margin-bottom: 20px;
            line-height: 30px;
            font-size: 15px;
            & > div {
                width: 50%;
                display: flex;
                & > div:first-child {
                    width: 100px;
                }
                & > div:last-child {
                    border-bottom: 1px solid;
                    width: 60%;
                }
            }
        }
    }

    .proposal-form {
        .el-form-item__label {
            text-align: right;
        }

        .el-form-item {
            padding-right: 42px;
            margin-bottom: 18px;
        }

        .form-size {
            width: 49.5%;
            display: inline-block;
        }

        .input-size {
            width: 48%;
            display: inline-block;

            & + .input-size {
                margin-left: 3.2%;
            }
        }
    }

    .video-left {
        // width: 292px;
        width: 100%;
        min-height: 385px;

    }
    .distant-stream {
        width: 100%;
        height: 300px;
        overflow: hidden;

        & > div {
            width: 100%;
            height: 100%;
        }
    }
    .video-center-top {
        // width: 688px;
        width: 100%;
        min-height: 562px;
    }

    .video-center-bottom {
        // width: 688px;
        width: 100%;
        min-height: 208px;
    }

    .video-right-top {
        // width: 280px;
        width: 100%;
        min-height: 128px;
    }

    .video-right-moddle {
        // width: 280px;
        width: 100%;
        min-height: 375px;
    }
    .video-lineup {
        width: 100%;
        min-height: 878px;
    }

    .video-right-bottom {
        min-height: 300px;
    }

    /* 报告意见单 */
    .check-tag-plus {
        margin-right: 12px;
    }
    .check-err-tips {
        color: #999;
    }
    .check-tag-item {
        display: inline-block;
        padding: 2px 6px;
        margin: 0 8px 4px 0;
        background: #f0f6fb;
        border-radius: 4px;
        cursor: pointer;

        .name {
            padding-right: 14px;
            cursor: cursor;
        }
    }
}
.el-popover, .el-popper {
    padding: 0;
    .popover-title {
        font-size: 16px;
        padding: 5px 0 0 5px;
        background: #409EFF;
        // font-weight: bold;
        color: #fff;
    }
}
.popover-ul {
    padding: 5px 0 5px 0;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    li {
        cursor: pointer;
        padding-left: 12px;
        padding-right: 12px;
        margin-bottom: 3px;
        &:hover {
            background: #d9ecff;
        }
    }
}

/* 聊天室操作icon */
.chat__handle {
    @include flex;
    @include flex-wrap;
    @include flex-row-between;
    .handle__item {
        width: 20%;
        height: 80px;
        margin: 20px 0;
        text-align: center;

        .item__icon {
            width: 56px;
            height: 56px;
            margin: 0 auto;
        }
        .item__txt {
            color: #333;
            font-size: 14px;
            line-height: 24px;
        }
    }

    /* 3个占位 */
    &.placeholder-3:after {
        content: "";
        width: 60%;
    }

    /* 2个占位 */
    &.placeholder-2:after {
        content: "";
        width: 40%;
    }
    /* 1个占位 */
    &.placeholder:after {
        content: "";
        width: 20%;
    }
}


/* 开药--搜索栏 */
.chatroom-drug-search {
    @include flex;
    margin: 4px 0;

    .search__left {
        @include flex-1;
        @include flex;
        .search__item {
            width: 50%;
            padding-right: 6px;
        }
    }

    .search__right {
        padding-left: 6px;
    }
}
.chatroom-drug-tips {
    height: 32px;
    padding: 0 24px;
    color: $--type-danger;
    font-size: 12px;
    text-align: center;
    line-height: 32px;
    background: rgba($--type-danger-light, .5);
    border-radius: 4px;
}

// 患者信息模块，提示语
.chatroom-inquiry-tips {
    padding-left: 6px;
    color: $--type-danger;
    font-size: 12px;
}

/* ------------------ 远程搜索 ------------------ */
.suggestions-popover {
    .item {
        padding: 6px 12px;
        margin: 0 -20px;
        line-height: 20px;
        font-size: 14px;
        border-bottom: 1px solid $--border-color;
        &:last-child {
            border-bottom: none;
        }
    }
}

/* 组件：音视频模块 */
.rtc-video-wrapper {
    .rtc__card {
        padding: 6px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);

        & + .rtc__card {
            margin-top: 20px;
        }

        .rtc__title {
            height: 40px;
            padding: 0 14px;
            color: #006db8;
            font-size: 14px;
            line-height: 40px;
            border-radius: 16px 16px 0 0;
            background: #f0f6fb;

            .o-icon {
                display: inline-block;
                margin-right: 8px;
                font-size: 18px;
                font-weight: 600;
                vertical-align: middle;
            }
        }

        .rtc__stream {
            width: 100%;
            height: 300px;
            border-radius: 0 0 16px 16px;
            overflow: hidden;
            & > div{
                height: 100%;
            }
        }

        .agora__playlist {
            min-height: 300px;
        }
    }
}